import axios from '@/axios';

export default {
  queryDeviceEventData (deviceId, starttime, endtime) {
    return axios.get('/api/queryDeviceEventData?deviceId=' + deviceId + '&start_time=' + starttime + '&end_time=' + endtime);
  },
  queryDeviceStatusData (deviceId, starttime, endtime) {
    return axios.get('/api/queryDeviceStatusData?deviceId=' + deviceId + '&start_time=' + starttime + '&end_time=' + endtime);
  },
}
